package com.mililoan.common.bean;

import java.util.List;

/**
 * 表示分页的一个页集，封装了一页的数据，并且包含当前是第几页，总记录条数等
 * */
public class JqgridResultSet<T> { 
	private int total; 
	private List<T> rows; 
	private int limit=0; 
	private int offset = 0; 
	private String order ="asc" ;
	private int page;
	private int records;

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getRecords() {
		return records;
	}

	public void setRecords(int records) {
		this.records = records;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}
}
